package com.wlyuan.open.scanner.domain.transport.mapping;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author lijing
 * @description
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(target = "close.closeStatus", source = "closeStatus")
@Mapping(target = "close.closeType", source = "indexClosetype")
@Mapping(target = "close.reason", source = "closeReason")
@Mapping(target = "close.userId", source = "closeBy")
@Mapping(target = "close.tenantId", source = "closeTenant")
@Mapping(target = "close.createAt", source = "closeAt")
@Mapping(target = "close.flowId", source = "closeFlowId")
@Mapping(target = "close.toTenantId", source = "closeToTenantId")
public @interface CloseMapping {
}
